package com.cskt.petproject178.service;

import com.cskt.petproject178.pojo.entity.Order;
import com.cskt.petproject178.pojo.param.AddOrderParam;
import com.cskt.petproject178.pojo.vo.PageVO;
import com.cskt.petproject178.pojo.vo.PreSubmitVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderService {

    PreSubmitVO   selectPreSubmitCondition(List<Map<String,Object>> condition);


    String addOrder(Long userId, AddOrderParam param);

    Order selectOrderByOrderNo(String orderNo);


    PageVO<Order> selectOrderParam(Long userId, String orderNo, Integer payStatus, Integer startingNo, Integer pageSize);
}
